﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.gxjdWebSite
{
      using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    public class Map_Register_Link_User : EntityMapping<DB_Model.gxjdWebSite.Register_Link_User>
    {
      public Map_Register_Link_User()
        {
            Property(x => x.user_name, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_gender, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_position, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_mobile_phone, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_desktop_phone, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_email, map =>
            {
                map.Length(200);
            });

            Property(x => x.ent_id, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_remark, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_fax, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_address, map =>
            {
                map.Length(200);
            });

            Property(x => x.user_postalcode, map =>
            {
                map.Length(200);
            });
        }
    }
}
